package org.ziwei.paipan;

import java.util.Date;

import org.springframework.stereotype.Component;
import org.ziwei.paipan.var.Sex;

@Component("mingPanFactory")
public class MingPanFactory {

	public MingPan createMingPan(Date birthday, Sex sex, int curYear){
		return new MingPan(birthday, sex, curYear);
	}
}
